package com.yxy.model;


import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;
import tk.mybatis.mapper.code.ORDER;

import java.util.Date;
import java.math.BigDecimal;

import javax.persistence.*;


@Data
@Entity
@Table(name = "table_customer_talk",schema = "")
public class TableCustomerTalk {

  //null
  @Id
  @KeySql(useGeneratedKeys = true,sql = "SELECT @@IDENTITY",order = ORDER.AFTER)
  @Column(name = "id")
  private Long id;

  //客户名称
  @Column(name = "customer_name")
  private String customerName;

  //会面人
  @Column(name = "customer_user_name")
  private String customerUserName;

  //会面地点
  @Column(name = "customer_address")
  private String customerAddress;

  //自己员工
  @Column(name = "user_name")
  private String userName;

  //会面时间
  @Column(name = "talk_time")
  private String talkTime;

  //会面内容
  @Column(name = "talk_text")
  private String talkText;

  //附件地址
  @Column(name = "talk_text_url")
  private String talkTextUrl;

  //1.客户 2.供应商
  @Column(name = "status")
  private Long status;

  //null
  @Column(name = "tenant_id")
  private Long tenantId;

  //备注
  @Column(name = "misc")
  private String misc;

  //null
  @Column(name = "create_date")
  private Date createDate;

  //null
  @Column(name = "create_user_id")
  private Long createUserId;

  //null
  @Column(name = "create_user_name")
  private String createUserName;

  //null
  @Column(name = "update_date")
  private Date updateDate;

  //null
  @Column(name = "update_user_id")
  private Long updateUserId;

  //null
  @Column(name = "update_user_name")
  private String updateUserName;


}
